package top.leix.springdemo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.leix.springdemo.pojo.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.leix.springdemo.pojo.Student;

import java.util.List;

/**
* @author 16435
* @description 针对表【student(学生表)】的数据库操作Mapper
* @createDate 2024-04-21 22:23:42
* @Entity top.leix.springdemo.pojo.Student
*/
@Mapper
public interface StudentMapper extends BaseMapper<Student> {

    Integer addStudent(@Param("student") Student student);

    List<Student> queryAllStudent();
    Integer updateStudent(@Param("student") Student student);

    Integer deleteUserAccount(@Param("userAccount") String userAccount);

    List<Student> queryStudentByName(@Param("userName") String userName);

}




